package com.tengju.bff.interfaces.manage.crm.activity.form;

import com.tengju.bff.interfaces.manage.crm.activity.vo.ActivityDetailVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "ActivityTargetSaveForm", description = "新增活动请求参数")
public class ActivityTargetSaveForm {

    @NotNull(message = "活动ID不能为空")
    @ApiModelProperty(value = "活动ID")
    private Long activityId;

    @ApiModelProperty(value = "活动目标列表")
    @NotNull(message = "活动定向明细不能为空")
    private List<ActivityDetailVO.LimitRule> limitRules;
}
